FROM nginx:1.18

RUN sed -i "s/deb.debian.org/mirrors.aliyun.com/g" /etc/apt/sources.list
RUN sed -i "s/security.debian.org/mirrors.aliyun.com/g" /etc/apt/sources.list
RUN echo "$(sed '/nameserver/i\nameserver 114.114.114.114' /etc/resolv.conf)" > /etc/resolv.conf

WORKDIR /var/www/html